set(file
    bw_update_demo.c
    mid_ringbuf.c
    pf_parser.c
    util_api.c
)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fpermissive")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")


add_executable(bw_update_demo ${file})
target_include_directories(bw_update_demo PUBLIC ar8030)
target_link_libraries(bw_update_demo PUBLIC ar8030_client)

INSTALL(TARGETS bw_update_demo
    RUNTIME DESTINATION bin
)
